package chen.yi.component.operate.log.annotate;

import chen.yi.component.operate.log.enums.BusinessTypeEnum;

import java.lang.annotation.*;

/**
 * 业务日志切入点
 * @author huat
 **/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyLog {
    /**
     * 操作类型
     * @return
     */
    BusinessTypeEnum businessType() default BusinessTypeEnum.INSERT;

    /**
     * 模块名
     */
    String moduleName();
}
